#ifndef FGDDIALOG_H
#define FGDDIALOG_H

#include <QDialog>
#include<QDomElement>
#include<QDomDocument>
#include<QVector>
#include<QStringList>


class QGridLayout;
class QDomAttr;
class QPushButton;
class QLabel;

class fgdDialog : public QDialog
{
    Q_OBJECT

public:
    fgdDialog(QDomDocument &rootNode, QWidget *parent = 0);
public slots:
    virtual void changeNode();

    void setImages();
    void setThumbs();

protected:
   virtual QGridLayout *createLayout();
   QGridLayout *gridLayout;
   QStringList atributes;
   QDomElement  mainNode;
   QVector <QDomAttr*> vect;
   void fillVect();

   QLabel* descriptionLabel;
   QPushButton* exitButton;


};

#endif // FGDDIALOG_H
